package com.downguys.domain;

import lombok.Data;

import java.util.UUID;

/**
 * 验证码返回值
 *
 * @author xiyang.qiao
 * @date 2017/1/3 - 20:47
 */
@Data
public class VerifyCodeResult_copy {

    /**
     * 验证码token，用于校验
     */
    private String token = "49a1aa02ce6841a888fb643469e27798";

    /**
     * 验证码
     */
    private String verifyCode = "24xye9";

    /**
     * 剩余可用次数
     */
    private int usableCount = 9;

    /**
     * userId
     */
    private int userId = 88888;

    /**
     * 发送验证码的安全信息，手机或者邮箱
     */
    private String verify = "18521509609";

    public VerifyCodeResult_copy(){
    }

    public VerifyCodeResult_copy(String token, String verifyCode, int userId, String verify, int usableCount){

        this.token = token;
        this.verifyCode = verifyCode;
        this.userId = userId;
        this.verify = verify;
        this.usableCount = usableCount;
    }

    public static void main(String[] args) {
        String uuid = UUID.randomUUID().toString().replace("-","");
        System.out.println(uuid);
    }

}
